package br.mg.bhe.ftpobre;

import org.pushingpixels.substance.api.SubstanceLookAndFeel;
import org.pushingpixels.substance.api.skin.BusinessBlackSteelSkin;

import br.mg.bhe.ftpobre.gui.MainFrame;

/**
 *
 * @author Aureliano
 */
public class Main {

    private static ConnectionData connectionData;

    public static ConnectionData getConnectionData() {
        if (connectionData == null) {
            connectionData = new ConnectionData();
        }

        return connectionData;
    }

    public static void main(String[] args) {
    	java.awt.EventQueue.invokeLater(new Runnable() {
            
            public void run() {
                SubstanceLookAndFeel.setSkin(new BusinessBlackSteelSkin());

                MainFrame frame = MainFrame.getInstance();
                frame.setVisible(true);
            }
        });
    }
}